package cn.bocai.pc.dao;


import java.util.Map;

import cn.bocai.pc.model.BcAdmin;

public interface BcAdminMapper {
	//用户登入的时候查询用户名和密码是否匹配
	BcAdmin selectLogin(BcAdmin record);
	//登入以后修改密码
	int updateUserPaw(Map<String, Object> par);
	
    int deleteByPrimaryKey(String userId);

    int insert(BcAdmin record);

    int insertSelective(BcAdmin record);

    BcAdmin selectByPrimaryKey(String userId);

    int updateByPrimaryKeySelective(BcAdmin record);

    int updateByPrimaryKey(BcAdmin record);
}